home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
asm32.zip
/
HELLO32.ASM
< prev
next >
Wrap
Assembly Source File
|
1995-08-30
|
439b
|
28 lines
; HELLO32.ASM - a simple ASM32 demonstration program
include model.inc
public main32 ; this is the main code, called by START_DP
include dataseg.inc
hello db 'Hello from 32-bit P-mode',0Dh,0Ah,'$'
@curseg ends
include codeseg.inc
main32 proc near
; use ordinary DOS function to print string on screen
lea edx,hello
mov ah,9
int 21h
; return to startup/exit code
ret
main32 endp
@curseg ends
end